﻿using System;

namespace SARS.Entity
{
    public class SessionEntity
    {
        public Int32 SessionID { get; set; }
        public string SessionTopic { get; set; }
        public string SessionType { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public Int32 CourseID { get; set; }
        public Int32 ManagerID { get; set; }
        public Int32 RoomID { get; set; }
        public DateTime CreatedDate { get; set; }
        public DateTime ModifiedDate { get; set; }
        public Int32 Status { get; set; }

        public CourseEntity Course { get; set; }
        public UserEntity Manager { get; set; }
        public RoomEntity Room { get; set; }

        public string SessionInfo
        {
            get { return string.Format("{0} - {1} ({2} - {3})", SessionTopic, SessionType, StartDate, EndDate); }
        }
    }
}